import { Application } from 'egg';
export default (app: Application) => {
    const { STRING, } = app.Sequelize;
    const model = app.model.define('Product', {
        name: STRING(40),
        
    }, {
        tableName: "Product",
        timestamps: true
    });
    return model;
};